// comMFCView.h : interface of the CComMFCView class
//
/////////////////////////////////////////////////////////////////////////////

#include"Chemistry.h"
#include"Account.h"
#include"studlg.h"
#if !defined(AFX_COMMFCVIEW_H__0BB5F82E_8BD2_45C6_BBC8_4E9FF0968E68__INCLUDED_)
#define AFX_COMMFCVIEW_H__0BB5F82E_8BD2_45C6_BBC8_4E9FF0968E68__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CComMFCView : public CView
{
protected: // create from serialization only
	CComMFCView();
	DECLARE_DYNCREATE(CComMFCView)

// Attributes
public:
	CComMFCDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CComMFCView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CComMFCView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	#define MAX_BUBBLE 250
	CRect m_rectBubble[1000];
	int m_nBubbleCount;
    char * name;
	int s1,s2,s3,s4,s5,s6;
	Chemistry che[MAX_BUBBLE];
    Account   acc[MAX_BUBBLE];

	//{{AFX_MSG(CComMFCView)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnPaint();
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in comMFCView.cpp
inline CComMFCDoc* CComMFCView::GetDocument()
   { return (CComMFCDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_COMMFCVIEW_H__0BB5F82E_8BD2_45C6_BBC8_4E9FF0968E68__INCLUDED_)
